package com.itheima.reggie.service;

import com.itheima.reggie.domain.Employee;
import com.itheima.reggie.common.ResultInfo;

import java.util.List;

public  interface EmployeeService {
     void save(Employee employee);
    Employee findById(Long id);
    void update(Employee employee);

    ResultInfo login(String username, String password);
    List<Employee> findName(String name);



}
